package view.utils;
import javax.swing.ImageIcon;


public abstract class ImageUtil 
{

	public static ImageIcon getImageIcon(Object objet, String pathImage) 
	{
		ClassLoader cl = objet.getClass().getClassLoader();

		return new ImageIcon(cl.getResource(pathImage));
	}

}